It goes to the previous Layout. This code is located under
Sub Activity_Create(FirstTime As Boolean)
Activity.AddMenuItem("Save and Quit", "SaveandQuit")
Activity.AddMenuItem("Main Menu", "mainscreen")
Activity.AddMenuItem("High Scores", "HighScore")
Activity.AddMenuItem("Support", "Support")