Add index label to each task in view