Fixed bug where logout then backgrounding app would return to main menu.