If a submenu is clicked, immediately activate it.
Merge pull request #1 from kamens/master

update