     case btnLEFT: {
       if (wasReleased) {
         wasReleased = false;
-        switch (state) {
+        switch (applicationState) {
           case 0: {
             Serial.println(stationIndex);
             if (stationIndex > 0) {

              }
              // Backlight intensity selected
              case 1: {
                state = 7;
            
                lcd.clear();
                lcd.setCursor(0,0);

   limitations under the License.
*/

#include <LiquidCrystal.h>
#include <TEA5767N.h>
#include <Wire.h>
#include <stdlib.h>
