Updated the settings to toggle accordingly to the configuration