Since your sketch determines the tank height based on a measurement in setup(), each time the ESP8266 resets it will automatically re-determine the tank height anyway. The way you're using the EEPROM currently doesn't improve anything about your system. Also notice you're not reading the EEPROM anywhere, nor do I see a logical need to do so given the measurement that's done on startup...