 
 unsigned long alarmLastStarted;
 
-
-RTC_DS1307 RTC;
-
-
 unsigned long timeLastPressedLeftButton;
 unsigned long timeLastPressedMiddleButton;
 unsigned long timeLastPressedRightButton;

    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: 

  }



  checkAndSoundAlarm(hour(), minute());
  soundAlarmAtThisPointIfNeeded();

  //Disable alarm if it has gone longer than maximum
