Hides the blockly button and changes visibility on click