Made it possible to mark a task as completed