Reformat task list.