changed listeners so that they enable and disable the save button properly for editing RepeatEvents