[Cordova] add Main menu + refactor