fixed change event in color setValue function that was causing a bug when adding custom color palette