there is a problem - submenu item gets checked when parent menu item is checked.
fix for the problem - when you restart the application the last selected submenu item gets checked.