Implemneted as per the comments
try to create example for both, preference & standalone dialog
don't use preference.mycolorpicker. as it's not for it, try different
path
added few descriptive comments