Update applicationPreferences.h

Change method signatures for cordova 3.0 compatibility