code: private void storeSettings(FacebookSettings settings) {
          int destinationId = settings.getDestinationId();
          String accountName = settings.getAccountName();
          String albumName = settings.getAlbumName();
          String albumGraphPath = settings.getAlbumGraphPath();
          String pageAccessToken = settings.optPageAccessToken();
          String photoPrivacy = settings.optPhotoPrivacy();
  
          Editor editor = PreferenceManager.getDefaultSharedPreferences(mContext).edit();
          editor.putInt(mContext.getString(R.string.wings_facebook__destination_id_key), destinationId);
          editor.putString(mContext.getString(R.string.wings_facebook__account_name_key), accountName);
          editor.putString(mContext.getString(R.string.wings_facebook__album_name_key), albumName);
          editor.putString(mContext.getString(R.string.wings_facebook__album_graph_path_key), albumGraphPath);
          if (!TextUtils.isEmpty(pageAccessToken)) {
              editor.putString(mContext.getString(R.string.wings_facebook__page_access_token_key), pageAccessToken);
          }
          if (!TextUtils.isEmpty(photoPrivacy)) {
              editor.putString(mContext.getString(R.string.wings_facebook__photo_privacy_key), photoPrivacy);
          }
  
          // Set preference to linked.
          editor.putBoolean(mContext.getString(R.string.wings_facebook__link_key), true);
          editor.apply();
      }
docs: Stores the link settings in persisted storage.
  
  @param settings the {@link com.groundupworks.wings.facebook.FacebookSettings}.