   unsigned long timeElapsedSinceStart;
 
   while((timeElapsedSinceStart = (millis() - initialTime)) < INITIAL_SETTLE_TIME){
-    if(isAtLeastOneButtonPressed()){
+    if(isMiddleButtonPressed()){
       break;
     }
     

  return temperature;
}

bool isAtLeastOneButtonPressed(){

  int upPressed = digitalRead(PIN_BUTTON_UP);
  int enterPressed = digitalRead(PIN_BUTTON_ENTER);
  int downPressed = digitalRead(PIN_BUTTON_DOWN);

  if(upPressed == LOW || enterPressed == LOW || downPressed == LOW){

    static unsigned long lastPressedTime = 0;
    unsigned long currentTime = millis();

    
  }

  if(isMiddleButtonPressed()){
    return STATE_WINDOW_BEFORE;
  }

