 boolean blinkState = false;
 
 long lastStatus = 0;
+boolean statusDisplayed = false;
 
 boolean mem_armed[NUMBER_MEM_BUTTONS];
 long last_mem[NUMBER_MEM_BUTTONS];

  clear_line(1);
  lcd.setCursor(0,1);
  lcd.print(statusLine);
}

// subroutine to display the frequency...

      // long push = commit to memory
      EEPROM.put(eeAddressStart+buttons*sizeof(double),freq);
      strcpy(statusLine,"m");
      statusLine[1] = '0' + buttons; 
      statusLine[2] = 0; // so that next bit gets add on here
      strcat(statusLine," stored");
      update_status();
      } else {
      // short push = qsy to memory frequency
      EEPROM.get(eeAddressStart+buttons*sizeof(double),freq);
      strcpy(statusLine,"recall m"); 
      statusLine[8] = '0' + buttons; 
      statusLine[9] = 0; 
      update_status();
      send_frequency(freq);     
      display_frequency(freq);
      }
