@Override
  public void onAlbumListCellClicked(Album album) {

    // setFragment(FragmentDetail.TAG);

    Fragment temp = fragmentManager.findFragmentByTag(FragmentDetail.TAG);
    if (temp == null) {
      fragmentAlbumDetail = FragmentDetail.create(this);
      fragmentAlbumDetail.setAlbum(album);
      fragmentManager
          .beginTransaction()
          .setCustomAnimations(android.R.anim.fade_in, android.R.anim.fade_out)
          // .setCustomAnimations(R.anim.slide_right_in, R.anim.slide_right_out)
          .hide(currentFrag)
          .add(R.id.mainframe, fragmentAlbumDetail, FragmentDetail.TAG)
          .addToBackStack(FragmentDetail.TAG)
          .commit();

    } else {
      fragmentAlbumDetail = (FragmentDetail) temp;
      fragmentAlbumDetail.setAlbum(album);
      fragmentManager
          .beginTransaction()
          .setCustomAnimations(android.R.anim.fade_in, android.R.anim.fade_out)
          // .setCustomAnimations(R.anim.slide_right_in, R.anim.slide_right_out)
          .hide(currentFrag)
          .show(fragmentAlbumDetail)
          .commit();
    }
    // getSupportActionBar().setSubtitle("Albums");
    TextView tv =
        (TextView) getSupportActionBar().getCustomView().findViewById(R.id.action_bar_title);
    tv.setText(album.getAlbumName());
  }