Fix for "on/off all styles" function