@Override
  public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
    slidingDrawer.close();
    currentClasstime = (Classtime) parent.getItemAtPosition(position);

    if (currentClasstime != null) {
      mode = parentAct.startActionMode(new ScheduleActionMode());
      slidingDrawer.setVisibility(View.VISIBLE);

      String text = " ";
      text += currentClasstime.getCourseId() + " - " + currentClasstime.getName() + " ";

      String daytext = "\n\t";
      String building =
          currentClasstime.getBuilding().getId() + " " + currentClasstime.getBuilding().getRoom();
      String unique = currentClasstime.getUnique();

      String time = currentClasstime.getStartTime();
      String end = currentClasstime.getEndTime();

      if (currentClasstime.getDay() == 'H') {
        daytext += "TH";
      } else {
        daytext += currentClasstime.getDay();
      }

      // TODO: stringbuilder
      text += (daytext + " from " + time + "-" + end + " in " + building) + "\n";

      text += "\tUnique: " + unique + "\n";

      classInfoImageView.setBackgroundColor(Color.parseColor("#" + currentClasstime.getColor()));
      classInfoImageView.setMinimumHeight(10);
      classInfoImageView.setMinimumWidth(10);

      classInfoTextView.setTextColor(Color.BLACK);
      classInfoTextView.setTextSize(14f);
      classInfoTextView.setBackgroundColor(TRANSLUCENT_GRAY);
      classInfoTextView.setText(text);

      slidingDrawer.open();
    }
    // they clicked an empty cell
    else {
      if (mode != null) {
        mode.finish();
      }
      slidingDrawer.setVisibility(View.INVISIBLE);
    }
  }