public MainPage() { InitializeComponent(); App.FirstVisit = true; SetGlobalColors(); InitAppBars(); recentList.ItemsSource = App.RecentList; prog = new ProgressIndicator(); prog.IsVisible = true; SystemTray.SetForegroundColor(this, App.Foreground_Color); SystemTray.SetBackgroundColor(this, App.Background_Color); SystemTray.SetProgressIndicator(this, prog); settings = new AppSettings(); ModelView model = new ModelView(); App.ViewModel = model; }