Pygame (A bit racey) game bug

in the game when you first start it there's the game start menu/intro, it has 2 buttons (Start Game) (Quit)

Now when you start the game and you're actually playing, when you press P (Paused) there're 2 buttons (Continue) (Main Menu) if you click continue it completes the game normally. However when you click main menu it closes the game instead of returning to the intro, same problem is present when you crash with the car you have (Try Again) and (Main Menu) and also if you click Main Menu it closes the game