Minor refactoring of loading the settings view.