add the color checkbox to the preference class