ColorPickerPreference, Add new function: "set color preview value from outside"

ported from SlimRoms:

https://github.com/SlimRoms/packages_apps_Settings/commit/a89b3cf44ba6809ffd97a76e5f3ca49d1a87bace