Add changing of class to settings