private void New_Click(object sender, RoutedEventArgs e) { _isListChanging = true; _currentBattle = _repo.CreateNewBattle(); _battleViewSource.ObjectInstance = _currentBattle; battleListBox.SelectedItem = _currentBattle; samuraisInBattle.ItemsSource = _currentBattle.SamuraiBattles; _isListChanging = false; _currentBattle.IsDirty = true; }