Changing the task code to use the new hours_spent column in task table for calculation.