Add index to todolist