Marking a task as finished.