fix colorpicker
new cookie create method
and few other improvments

thanks to @mario and @deejay3 from prestashopforum.pl