Added functions to move an event to an old event key. Added checks for old date in getEvents function to move old events