Fixed bug in ColorPickerPreference