     }
     if (receivecount == 15)
       break;
+    UpdateButtonLEDs();
     delay(1);
   }
   byte correct = 0;

    case BLANKkey:
      LockScreen();
      delay(100);
      FullUpdate();
      break;
    case INFOkey:
      LeftButtonLEDState = 0;
      printsequence();  //print sequence, 3 lines at a time
      LeftButtonLEDState = 1;
      break;
    case CtlONEkey:
      LeftButtonLEDState = 0;
      loadmenu(1);  //control 1-6 - prompt and load saved sequences
      LeftButtonLEDState = 1;
      break;
    case CtlTWOkey:
      LeftButtonLEDState = 0;
      loadmenu(2);  //control 1-6 - prompt and load saved sequences
      LeftButtonLEDState = 1;
      break;
    case CtlTHREEkey:
      LeftButtonLEDState = 0;
      loadmenu(3);  //control 1-6 - prompt and load saved sequences
      LeftButtonLEDState = 1;
      break;
    case CtlFOURkey:
      LeftButtonLEDState = 0;
      loadmenu(4);  //control 1-6 - prompt and load saved sequences
      LeftButtonLEDState = 1;
      break;
    case CtlFIVEkey:
      LeftButtonLEDState = 0;
      loadmenu(5);  //control 1-6 - prompt and load saved sequences
      LeftButtonLEDState = 1;
      break;
    case CtlSIXkey:
      LeftButtonLEDState = 0;
      loadmenu(6);  //control 1-6 - prompt and load saved sequences
      LeftButtonLEDState = 1;
      break;
    case SftONEkey:
      LeftButtonLEDState = 0;
      savemenu(1);  //shift 1-6 - prompt and save sequence
      LeftButtonLEDState = 1;
      break;
    case SftTWOkey:
      LeftButtonLEDState = 0;
      savemenu(2);  //shift 1-6 - prompt and save sequence
      LeftButtonLEDState = 1;
      break;
    case SftTHREEkey:
      LeftButtonLEDState = 0;
      savemenu(3);  //shift 1-6 - prompt and save sequence
      LeftButtonLEDState = 1;
      break;
    case SftFOURkey:
      LeftButtonLEDState = 0;
      savemenu(4);  //shift 1-6 - prompt and save sequence
      LeftButtonLEDState = 1;
      break;
    case SftFIVEkey:
      LeftButtonLEDState = 0;
      savemenu(5);  //shift 1-6 - prompt and save sequence
      LeftButtonLEDState = 1;
      break;
    case SftSIXkey:
      LeftButtonLEDState = 0;
      savemenu(6);  //shift 1-6 - prompt and save sequence
      LeftButtonLEDState = 1;
      break;
    case SftF1key:
      LeftButtonLEDState = 0;
      Reset(); //prompt for reset, 
      LeftButtonLEDState = 1;
      break;
    case CtlBLANKkey:
      LeftButtonLEDState = 0;
      ChangePasscode();
      LeftButtonLEDState = 1;
      FullUpdate();

        case 4:
        case 5:
          Serial1.write("\rChannel: "); //overwrite line
          Serial1.print(value+1);  //print 1-6 for 0-5
          sequence[i][1] = value;  //save 0-5
          edited = 1; //mark as the sequence has been edited
          break;
        case 0x10: //pressed enter, leave data as-is ,go on.
