checking for cordova environment to display calender save button closes #328