Fixed the shortcut menus to remember whether they are open/closed.