public Statistics(int userId)
 {
     InitializeComponent();
     this.userId = userId;
     results     = SqliteDataAccess.LoadGamesForUser(DificultyLevelComboBox.Text, userId, ReturningCheckBox.IsChecked == true ? 1 : 0);
     StatisticsList.ItemsSource = results;
 }
 private void BtnShow_Click(object sender, RoutedEventArgs e)
 {
     results = SqliteDataAccess.LoadGamesForUser(DificultyLevelComboBox.Text, userId, ReturningCheckBox.IsChecked == true ? 1 : 0);
     StatisticsList.ItemsSource = results;
 }