fix Main Press Menu popup code