Update MainPage.xaml.cs