Mark task as completed