Hey, thanks for your comment. I have fixed the bug and followed your tip.
I played your game another time and found another bug: On the game over screen is an spelling error: Manimenu instead of Mainmenu.
Thank you for the hint.