Fix double click bug
requested to merge 22-bugfix-clicked-twice-create-new-preference-and-two-identical-were-created into master
Please be advised that registry.cern.ch and registry-tn.cern.ch registries (Registry Service) will be unavailable next Tuesday, Feb 11th starting at 08:00h (Geneva time) for a short period of time. This may cause temporary disruptions to your workflows. Further info: OTG0154380