updating settings controller to handle the changes made to the settings.html file