code: function createPreference(preferences) {
      var callback = preConditions.getCallback(arguments[arguments.length - 1]);
  
      showWarning();
  
      return preferencesModule.create(preferences, callback);
    }
docs: Create a preference using preferenceModule
  @param preferences
  @param callback
  @returns {preferences}