private void OnSelectedPageChanged(MainPage mainPage) { if (mainPage == MainPage.TherapyPlaceTypes) { TherapyPlaceTypes.Clear(); dataCenter.GetAllTherapyPlaceTypes() .Do(TherapyPlaceTypes.Add); SelectedTherapyPlaceType = null; } }