Fixed crash when user adds a new color.