Remove main menu and list window from memory when in background