Filtering the tasks into their specific lists