   unsigned long currentMillis = millis();
   
 
-  if((currentMillis - timeLastPressedTimeSetButton) < MIN_TIME_BETWEEN_BUTTON_PRESSES){
+  if((currentMillis - timeLastPressedMiddleButton) < MIN_TIME_BETWEEN_BUTTON_PRESSES){
     return;
   }
    
-  timeLastPressedTimeSetButton = currentMillis;
+  timeLastPressedMiddleButton = currentMillis;
   
   Serial.println("Time Set Button Pressed");
    

  unsigned long currentMillis = millis();
  

  if((currentMillis - timeLastPressedAlarmSetButton) < MIN_TIME_BETWEEN_BUTTON_PRESSES){
    return;
  }
  
  timeLastPressedAlarmSetButton = currentMillis;
  
  Serial.println("Alarm Set Button Pressed");
   

boolean lastMotorDirection;

unsigned long timeLastPressedLeftButton;
unsigned long timeLastPressedMiddleButton;
unsigned long timeLastPressedRightButton;


