fixed MainPage.xaml.cs