 
   switch(currentState)
   {
-    case ALARM: stopAlarm();
-    break;
-    case NORMAL :
-   { 
+  case ALARM: 
+    stopAlarm();
+    break;
+  case NORMAL :
+    { 
       if(showLCD){
         currentState = SETTING_TIME;
         settingTimeProcess = T_HOUR;
-      } else {
+      } 
+      else {
         showLCD = true;
       }
-      
-   }
-    break;
-    case SETTING_ALARM:
-    {
-        if(settingAlarmProcess == A_HOUR){
-          alarmHour = getNextHourFromCurrentHour(alarmHour, true);
-        } else if(settingAlarmProcess == A_MINUTE){
-          alarmMinute = getNextMinSecFromCurrentMinSec(alarmMinute, true);
-        } else if(settingAlarmProcess == A_TYPE){
-              
-          if(!vibrate1 && !vibrate2){
-                vibrate1 = false;
-                vibrate2 = true;
-              } else if(!vibrate1 && vibrate2){
-                vibrate1 = true;
-                vibrate2 = false;
-              } else if(vibrate1 && !vibrate2){
-                vibrate1 = true;
-                vibrate2 = true;  
-              } else {
-                vibrate1 = false;
-                vibrate2 = false;  
-              }
-        }
-    }
-    break;
-    case SETTING_TIME:
-      {
-    DateTime now = RTC.now();
-    DateTime newTime;
-    switch(settingTimeProcess){
+
+    }
+    break;
+  case SETTING_ALARM:
+    {
+      if(settingAlarmProcess == A_HOUR){
+        alarmHour = getNextHourFromCurrentHour(alarmHour, true);
+      } 
+      else if(settingAlarmProcess == A_MINUTE){
+        alarmMinute = getNextMinSecFromCurrentMinSec(alarmMinute, true);
+      } 
+      else if(settingAlarmProcess == A_TYPE){
+          vibrate = !vibrate;
+      }
+    }
+    break;
+  case SETTING_TIME:
+    {
+      DateTime now = RTC.now();
+      DateTime newTime;
+      switch(settingTimeProcess){
       case T_HOUR:
         newTime = DateTime(now.year(), now.month(), now.day(), getNextHourFromCurrentHour(now.hour(), true), now.minute(), now.second());
         break;
       case T_MINUTE:
         newTime = DateTime(now.year(), now.month(), now.day(), now.hour(), getNextMinSecFromCurrentMinSec(now.minute(), true), now.second());
         break;
-      default: break;
-     
-    }
-       
-    RTC.adjust(newTime);
-  }
-    
-    
-    break;
-    default: break;
+      default: 
+        break;
+
+      }
+
+      RTC.adjust(newTime);
+    }
+
+
+    break;
+  default: 
+    break;
   }
 
 }

  timeLastPressedLeftButton = currentMillis;

  Serial.println("Left Button Pressed");
  
  switch(currentState)
  {
  case ALARM: stopAlarm();
  break;
  case NORMAL :
  {
    showLCD = !showLCD;
    turnOffLCD();
    
  }
  break;
  case SETTING_ALARM:
  {
   if(settingAlarmProcess == A_HOUR){
       alarmHour = getNextHourFromCurrentHour(alarmHour, false);
    } else if(settingAlarmProcess == A_MINUTE){
       alarmMinute = getNextMinSecFromCurrentMinSec(alarmMinute, false);
    } else if(settingAlarmProcess == A_TYPE){
              
       if(!vibrate1 && !vibrate2){
          vibrate1 = true;
          vibrate2 = true;
       } else if(!vibrate1 && vibrate2){
          vibrate1 = false;
          vibrate2 = false;
       } else if(vibrate1 && !vibrate2){
         vibrate1 = false;
         vibrate2 = true;  
       } else {
          vibrate1 = true;
          vibrate2 = false;  
      }
   }
  
  }
  break;
  case SETTING_TIME:
  {
    DateTime now = RTC.now();
    DateTime newTime;
    switch(settingTimeProcess){
      case T_HOUR:
        newTime = DateTime(now.year(), now.month(), now.day(), getNextHourFromCurrentHour(now.hour(), false), now.minute(), now.second());
        break;
      case T_MINUTE:
        newTime = DateTime(now.year(), now.month(), now.day(), now.hour(), getNextMinSecFromCurrentMinSec(now.minute(), false), now.second());
        break;
      default: break;
     
    }
       
    RTC.adjust(newTime);
  }
  break;
  default: break;
  }


