improved sample menu with submenu, separator and disabled option
fixed typo
fixed #1