fixed an issue with the loading of the main view model at the startup of the application, as this was done before the settings could be loaded