private void UnsubscribeButton_Click(object sender, EventArgs e) { if (active) { if (_selectedObserver != null) { foreach (ListViewItem item in SubscribedListView.SelectedItems) { Athlete athlete = item.Tag as Athlete; athlete?.removeObserver(_selectedObserver); _selectedObserver.ObservedAthleteList.Remove(athlete); } RefreshObserverListView(); RefreshListViews(); } } }