@Override
 public void onCancelChooser() {
   mDialog.dismiss();
 }
 @Override
 public void onSelectDirectory(@NonNull final String path) {
   mDirectoryTextView.setText(path);
   mDialog.dismiss();
 }