use Model.set for setting color id, otherwise colorPicker will set into ...

...the model a string containing the id, instead of an integer, like defined in model itself. Using set method will do the conversion for us.