private async void btnNewTactic_Click(object sender, RoutedEventArgs e)
 {
     Dialogs.TacticsWindows.TacticWindow dialog = new Dialogs.TacticsWindows.TacticWindow(Context);
     dialog.ShowDialog();
     if ((string)dialog.Tag == "updated")
     {
         await ResetStats();
     }
 }
        private async void btnNew_Click(object sender, RoutedEventArgs e)
        {
            TacticWindow window = new TacticWindow(_context);

            window.ShowDialog();

            if (window.DataChanged)
            {
                await UpdateData();
            }
        }
        private async void btnEdit_Click(object sender, RoutedEventArgs e)
        {
            var          item   = (ARTactics)dgData.SelectedItems[0];
            TacticWindow window = new TacticWindow(_context, item);

            window.ShowDialog();

            if (window.DataChanged)
            {
                await UpdateData();
            }
        }