 typedef enum {NORMAL, ALARM, SETTING_TIME, SETTING_ALARM} CLOCK_STATE ;
 CLOCK_STATE currentState = NORMAL;
 
-typedef enum {C_HOUR, C_MINUTE, C_SECOND, C_YEAR, C_MONTH, C_DAY} SETTING_TIME_STATE ;
-SETTING_TIME_STATE settingClockProcess;
+typedef enum {T_HOUR, T_MINUTE, T_SECOND, T_YEAR, T_MONTH, T_DAY} SETTING_TIME_STATE ;
+SETTING_TIME_STATE settingTimeProcess;
 
 typedef enum {A_HOUR, A_MINUTE, A_TYPE} SETTING_ALARM_STATE ;
 SETTING_ALARM_STATE settingAlarmProcess;

    }
    break;
    case SETTING_TIME:
    break;
    default: break;
    }

  unsigned long currentMillis = millis();
  

  if((currentMillis - timeLastPressedMiddleButton) < MIN_TIME_BETWEEN_BUTTON_PRESSES){
    return;
  }
  
  timeLastPressedMiddleButton = currentMillis;
  
  Serial.println("Middle Button Pressed");
   
  switch(currentState)
  {
