The glitch is the variables don't disappear when a button that shows variables is clicked and another button is clicked.