public void loadTrack(Cursor cursor, boolean loadTargetFragment) {
    final String trackId;
    final int trackColor;
    final Resources res = getResources();

    if (cursor != null) {
      trackColor = cursor.getInt(TracksAdapter.TracksQuery.TRACK_COLOR);
      trackId = cursor.getString(TracksAdapter.TracksQuery.TRACK_ID);

      mTitle.setText(cursor.getString(TracksAdapter.TracksQuery.TRACK_NAME));
      mAbstract.setText(cursor.getString(TracksAdapter.TracksQuery.TRACK_ABSTRACT));

    } else {
      trackColor = res.getColor(R.color.all_track_color);
      trackId = ScheduleContract.Tracks.ALL_TRACK_ID;

      mTitle.setText(
          TracksFragment.NEXT_TYPE_SESSIONS.equals(mNextType)
              ? R.string.all_sessions_title
              : R.string.all_sandbox_title);
      mAbstract.setText(
          TracksFragment.NEXT_TYPE_SESSIONS.equals(mNextType)
              ? R.string.all_sessions_subtitle
              : R.string.all_sandbox_subtitle);
    }

    boolean isDark = UIUtils.isColorDark(trackColor);
    mRootView.setBackgroundColor(trackColor);

    if (isDark) {
      mTitle.setTextColor(res.getColor(R.color.body_text_1_inverse));
      mAbstract.setTextColor(res.getColor(R.color.body_text_2_inverse));
      mRootView
          .findViewById(R.id.track_dropdown_arrow)
          .setBackgroundResource(R.drawable.track_dropdown_arrow_light);
    } else {
      mTitle.setTextColor(res.getColor(R.color.body_text_1));
      mAbstract.setTextColor(res.getColor(R.color.body_text_2));
      mRootView
          .findViewById(R.id.track_dropdown_arrow)
          .setBackgroundResource(R.drawable.track_dropdown_arrow_dark);
    }

    if (loadTargetFragment) {
      final Intent intent = new Intent(Intent.ACTION_VIEW);
      final Uri trackUri = ScheduleContract.Tracks.buildTrackUri(trackId);
      intent.putExtra(SessionDetailFragment.EXTRA_TRACK, trackUri);

      if (NEXT_TYPE_SESSIONS.equals(mNextType)) {
        if (cursor == null) {
          intent.setData(ScheduleContract.Sessions.CONTENT_URI);
        } else {
          intent.setData(ScheduleContract.Tracks.buildSessionsUri(trackId));
        }
      } else if (NEXT_TYPE_VENDORS.equals(mNextType)) {
        if (cursor == null) {
          intent.setData(ScheduleContract.Vendors.CONTENT_URI);
        } else {
          intent.setData(ScheduleContract.Tracks.buildVendorsUri(trackId));
        }
      }

      ((BaseActivity) getActivity()).openActivityOrFragment(intent);
    }
  }