Fixed saving of event after edit