Need to add action when clicking a schedule and implement start and end times