         } 
         saveSettings();
         resetLCD();
-        // Serial.println("Screen set to " + String(states.screenPage));
     }
 }
 

int averageCount;

// Utilities
//void factoryReset();
void resetLCD();
void setRelays();
void drawScreen(String top, String bot);

        averageCount++;
        
        float value;
        value = dht.readTemperature();
        if (String(value) != "nan") {
            data.temperature     = value; 
