ColorPickerPreference: code cleanup.

Signed-off-by: baked <travp624@gmail.com>