Moved the destroyButtons() function to changeScene and menuScene.