Improve radio and checkbox menu items support

* Fix showing `radio` and `checkbox` menu items on Windows.
* Discard `groupId` of `radio` menu items, it is now generated automatically.
* Clicking a `checkbox` menu item flips the `checked` flag.
* Clicking a `radio` menu item would make other items in the same group unchecked.
* A `radio` menu items group would have at least one item checked.