               //Puts the radio in standy by mode and turns off
               //the display backlight
               case 5: {
-                state = 2;
+                applicationState = 2;
                 lcd.clear();
                 
                 radio.setStandByOn();

              }
              //Fine search
              case 2: {
                state = 6;
                lcd.clear();
                lcd.setCursor(0, 0);
                lcd.print("<<");

              }
              // Exit
              case 2: {
                applicationState = 0;
            
                lcd.setCursor(0,0);
                lcd.print("      MHz        ");
