revert commit d619985 and delete old ViewMenu.java