Switching back to main menu panel

I added an action listener to the test button to go back to the main
menu panel. Partially got it to work but still needs improvements. Also
considering card layout for this.