Open/close button not working, open once, close once, then nothing if clicked again. Other action buttons affected as well

Good day,
Does anyone know how to fix I glitch I have. I have a full page menu with open button and close button that when clicked work once but then don’t if you try to open and close again. Also the play button that works without the menu, does not work when the menu is also not working. Any help would be greatly appreciated.