fixed issue #1, added submenus on buttons