To only show the employee status as 'On Leave' during the time slot selected for other events. Instead of showing On Leave for the entire day.