private bool CanUndoPendingChange(ObservableCollection<object> collection) { return collection != null && collection.Count == 1; }