added colorpicker function