   }
 
   timeLastPressedMiddleButton = currentMillis;
+  lastScreenActiveTime = currentMillis;
 
   //Serial.println("Middle Button Pressed");
 

  delay(INITIAL_TEXT_DELAY);
  attachInterrupt(ALARM_INT_PIN, alarmTriggered, FALLING);
  attachInterrupt(LEFT_BUTTON_INT_PIN, leftButtonIntPressed, FALLING); //Left Button is used to wake up from deep sleep
}

void loop (){

int milliVoltIndex = 0;     
long milliVoltTotal = 0;     

long lastScreenActiveTime = 0;

void setup() {

