modified MainPage.xaml