code: @Override
      protected AbstractFilePickerFragment<File> getFragment(
              final String startPath, final int mode, final boolean allowMultiple,
              final boolean allowDirCreate, final boolean allowExistingFile,
              final boolean singleClick) {
  
          // startPath is allowed to be null.
          // In that case, default folder should be SD-card and not "/"
          String path = (startPath != null ? startPath
                  : Environment.getExternalStorageDirectory().getPath());
  
          currentFragment = new BackHandlingFilePickerFragment();
          currentFragment.setArgs(path, mode, allowMultiple, allowDirCreate,
                  allowExistingFile, singleClick);
          return currentFragment;
      }
docs: Return a copy of the new fragment and set the variable above.