bugfix that cause trigger the menu on first click

Also added an example
Merge pull request #14 from reinos/master

Bugfix that cause trigger the menu on first click