             //MODE_LIST
             //only hovered is blinking (fast), all the others doesn't blink
             if(atoi(p.id) == atoi(deviceId)) {
+              
               statePending = true;
               blinkShort = false;
                 

        //1st means selected by system as default candidate
        //080 means switched by user
        //do the same thing but has different meaning in terms of logging
        if(exp_mode == MODE_IR) {
          if(statePending) {  
            //only change led if it's in pending (is one of the candidates)
            //blink at low frequency
            if(atoi(p.id) == atoi(deviceId)) {
              blinkShort = false;
            } else {
              blinkShort = true;  

// In this simplified design, there is no need to save states on client for feedback
// so I have deleted all state variables like IDLE, PENDING, CONNECTED, etc.

SoftwareSerial XBee(3,2); // RX, TX
int ledStatePin = 13;
int ledSignalPin = 10;
int controlledPin = 12;
int ledTargetPin = 11;

int RECV_PIN = 8;
IRrecv irrecv(RECV_PIN);
