implement the iOS PhoneGAP Preference Plugin