Changed the alert messages with cordova