Fix warning and added cheсk for declaration for configureMenuButton: method
Merge pull request #81 from glebus/master

Thank you Gleb