Common code from MainPage.xaml.cs moved to MainPage.common.cs