Fixed issue with submenu staying open
Merge pull request #12 from MacAnthony/master

Addresses submenu not closing issue.