refactored loading local app settings to the pref window UI into its own method