Works with adding/editing/deleting events