add support for menu button
added download functionality for cordova