 
 void set_line1_display_mode() {
   if (lcd_button == BP_LEFT) {
-    if (settings.line1_display_mode == 0) {
-      settings.line1_display_mode = sizeof(line1_options)-1;
+    if (settings.line1_display_mode <= 0) {
+      settings.line1_display_mode = LINE1_OPTS_NB-1;
     } else {
       settings.line1_display_mode--;
     }
   } else if (lcd_button == BP_RIGHT){
-    if (settings.line1_display_mode == sizeof(line1_options)-1) {
+    if (settings.line1_display_mode >= LINE1_OPTS_NB-1) {
       settings.line1_display_mode = 0;
     } else {
       settings.line1_display_mode++;

  delay(40);
  lcd.createChar(4, custom_hex2);
  delay(40);

  lcd.clear();

  draw(app_screen_name, "Warming up...", 1000);

  // EEPROM stuff
  settings_address  = EEPROM.getAddress(sizeof(ConfigurationStruct)); // Size of settings object

        }
        draw_save_settings();
        break;
      case 13 :
        if (lcd_button == BP_RIGHT) {
          draw_about_screen();
        }
        draw_about_menu_item();
        break;
      default :
        calibration_item = 1;
      }
