@Override
 public boolean onKeyUp(int keyCode, @NonNull KeyEvent event) {
   if (event.getKeyCode() == KeyEvent.KEYCODE_SEARCH) {
     final Intent searchIntent = new Intent(this, SearchActivity.class);
     searchIntent.putExtra(Extras.EXTRA_PATH, currentPath.getAbsolutePath());
     startActivity(searchIntent);
     return true;
   }
   return super.onKeyUp(keyCode, event);
 }
  @Override
  public boolean onMenuItemSelected(final int featureId, @NonNull final MenuItem item) {
    switch (item.getItemId()) {
      case R.id.menu_bookmarks_new:
        if (currentPath != null) {
          final String path = currentPath.getAbsolutePath();
          this.mBookmarksAdapter.addItem(path);
        }
        return true;

      default:
        return super.onMenuItemSelected(featureId, item);
    }
  }