 }
 
 void printMenuItem(char* &item) {
-   char textItem[50];
-   strcpy(textItem, item);
-   strcat(textItem, EMPTY);
-   lcd.print(textItem);
+  char textItem[50];
+  strcpy(textItem, item);
+  strcat(textItem, EMPTY);
+  lcd.print(textItem);
 }
 
 void printMenu() {

#if defined(DEBUG)
    Serial.println(btn);
#endif

   switch (btn) {
    case btnRIGHT: {
      if (printGUI) {
        
      } else {
          lcd.clear();
          printGUI = 1;
       }
        break;
    }
    case btnSELECT: {
       if (printGUI) {
         doSelect(menuMarker);
       }
        break;
      }
    case btnLEFT: {
      if (printGUI) {
         lcd.clear();
         printGUI = 0;
      } else {
         
       }
        break;
      }
    case btnUP: {
       if (menuMarker == 0) {
             menuMarker = lastItem;
       } else {
             menuMarker = menuMarker - 1;
       }
       break;
      }
    case btnDOWN: {
         if (printGUI) {
           if (menuMarker >= lastItem) {
             menuMarker = 0;
           } else {
             menuMarker = menuMarker + 1;
           }
         }
        break;
      }
    case btnNONE:

  lcd.print("Please clear all.");
  delay(4000);
  for (int i = 0; i < WEIGHT_SENSORS; i++) {
    scales[i].scale.tare();
    double sum = scales[i].scale.read_average(10);
#if defined(DEBUG)
    Serial.print("Offset is");
    Serial.println(sum);
#endif
    EEPROM.writeDouble(scales[i].eepromAddress, sum);

  }
}

void doSelect(int value) {
  switch (value) {
  case 0:
    doCalibrate();
    break;
  case 1:
    doTare();
    break;
  case 3:
    kegWeight();
    break;
  default:
    break;
  }
  delay(DELAY);
  printGUI = 0;
  lcd.clear();
}

void doRight() {
  if (printGUI) {} 
  else {
    lcd.clear();
    printGUI = 1;
  }
}

void doSelect() {
  if (printGUI) {
    doSelect(menuMarker);
  }
}

void doButtonAction(int btn) {
