@Override
  public void onViewCreated(final View view, Bundle savedInstanceState) {
    super.onViewCreated(view, savedInstanceState);

    TomahawkMainActivity activity = (TomahawkMainActivity) getActivity();
    activity.hideActionbar();

    setupCloseButton(view);
    setupContextMenuItems(view);
    setupBlurredBackground(view);

    if (mFromPlaybackFragment) {
      setupPlaybackTextViews(view, activity.getPlaybackPanel());
      activity.getPlaybackPanel().showButtons();
    } else {
      setupTextViews(view);
      setupAlbumArt(view);
      activity.hidePlaybackPanel();
    }
  }
  @Override
  public void onStop() {
    TomahawkMainActivity activity = (TomahawkMainActivity) getActivity();
    activity.showActionBar(false);

    if (mFromPlaybackFragment) {
      activity.getPlaybackPanel().hideButtons();
    } else {
      activity.showPlaybackPanel(false);
    }

    EventBus.getDefault().unregister(this);

    super.onStop();
  }