Fixed two small bugs around changing the color preferences.