Moved function updateModeRecurringEntityForEvent to ManageEvent/Repeat.php