Fixed log in issue by setting default schedule pre-save if the schedule is not already defined