Implements functionaity to mark todos complete