Click function issues

Want to disable the click function on the boxes after they have been
clicked once already.