Ends game application and calls the nifty menu

Hi. How can I call the menu options after end of game. For example, game level was finished and then I want to end game and pass to menu options. I try it like this:

[patch] app.start();



Go to the tutorials, read up on nifty, and then read up on AppStates. Thats what you need.