Added ability to mark the task as complete