fix problem where date time change to current date time when editing event