App preferences plugin for cordova