Single Button IR Remote

/*
  send IR code to receiver
*/
void sendIRCommand()
{
  Serial.print("Sending preset ");
  Serial.println(selectedPreset + 1);
  for (int cnt = 0; cnt < MAXDIGITS; cnt++)
  {
    if (presets[selectedPreset][cnt] != 0x0000)
    {
      // display the information
      Serial.print(presets[selectedPreset][cnt], HEX);
      Serial.print(" ");

      // send the ir code to the TV (based on the code from your opening post)
      irsend.send***(presets[selectedPreset][cnt], 10); // TV code

      delay(500);
    }
  }
  Serial.println();
}

Why this ??

  // just a message to show that the arduino is ready
  sendIRCommand();

And why a double if statement ??

    if (buttonState == ISPRESSED)
    {
      if (buttonState == ISPRESSED)
      {

buttonState will not change between the two if statements, so you can leave one of the two out.