AppPreferences plugin for modern Cordova