When completing a task, the cursor should set to the next task