while I am adding events it throws an error cordova_not_available. 
while I am adding events it throws an error cordova_not_available.
