public function removePinnedProgramCallback(array &$form, FormStateInterface $form_state) {
    $num_pinned_programs = $form_state->get('num_pinned_programs');
    if ($num_pinned_programs > 1) {
      $remove_button = $num_pinned_programs - 1;
      $form_state->set('num_pinned_programs', $remove_button);
    }
    $form_state->setRebuild();
  }