private void RemoveWatchFolders(CellEditEventArgs e) { foldersListView.RemoveObject(e.RowObject); var folderObject = e.RowObject as ProjectRequest; var requestToRemove = _folderPathList?.FindAll(p => p.Path == folderObject.Path); if (requestToRemove != null) { foreach (var request in requestToRemove) { _folderPathList.Remove(request); var notification = GetUINotification(request); _controller.ClearNotification(notification); } } var watchFolderToRemove = _watchFolders?.FirstOrDefault(w => w.Path == folderObject.Path); if (watchFolderToRemove != null) { _watchFolders.Remove(watchFolderToRemove); } _persistence.SaveProjectRequestList(_folderPathList); LoadProjectRequests(); }