Refractored styles and fixed preferences.