Fixed schedule.js to change the style of the tasks