Mark a task as complete