public static async Task SyncViewModelsWithSettings() { if (mainViewModel != null) { await mainViewModel.Refresh(); } if (searchViewModel != null) { await searchViewModel.Refresh(); } if (detailsViewModel != null) { await detailsViewModel.Refresh(); } }