Add functionality to mark todo entry as complete