private void btnStats_Click(object sender, RoutedEventArgs e)
 {
     StatisticsPage s = new StatisticsPage();
     this.NavigationService.Navigate(s);
 }