public static FavoritesSyncFragment newInstance(int mode) {
   FavoritesSyncFragment bf = new FavoritesSyncFragment();
   Bundle settings = new Bundle();
   settings.putInt(PARAM_MODE, mode);
   bf.setArguments(settings);
   return bf;
 }
 public static FavoritesSyncFragment newInstance(int mode, String folderId, String folderName) {
   FavoritesSyncFragment bf = new FavoritesSyncFragment();
   Bundle settings = new Bundle();
   settings.putInt(PARAM_MODE, mode);
   settings.putString(PARAM_FOLDER_ID, folderId);
   settings.putString(PARAM_FOLDER_NAME, folderName);
   bf.setArguments(settings);
   return bf;
 }