cosmetical changes
fixed bug with duplicate event after edit