add classes for task and list of task