Combine all the variables in one page for 1.3 Oled display using U8glib.

Due to to my project requirement, I can not use Adafruit library as it is consuming more dynamic memory and letting Arduino Nano hang.

Hence I went for 1.3 oled display using U8glib.

Requirement is to get all the variables in one single page instead of having next page.
U8glib is not allowing to create all variables in one single page in loop.

the below code is part of one of my major project where 4 relays will be working based on temperature sensor and DS3231 modules.

Below only I have mentioned code with 2 relays combines with DS3231 and Float sensor.
currently both the texts “Water Drain” and “Water pump” is switching between pages on Oled display.

#include <DS3231.h>
#include "U8glib.h"
U8GLIB_SH1106_128X64 u8g(U8G_I2C_OPT_DEV_0 | U8G_I2C_OPT_FAST); // Dev 0, Fast I2C / TWI


DS3231  rtc(SDA, SCL);
Time t;
int Drain_Relay2 =       6;          // in2 from relay board
int Float_Sensor =      9;          //float sensor switch to on/off the solenoid valve and water pump
int Pump_Relay1 =   7;          // in1 from relay board


///////////////// for water drain setting
const int ONdrainHR1   =  20;
const int ONdrainMIN1  =  11;   //  && t.min == ONpumpMIN1  is to be mentioned in water pump section

const int ONdrainHR2   =  20;
const int ONdrainMIN2  =  12;    //  && t.min == ONpumpMIN2  is to be mentioned in water pump section

const int ONdrainHR3   =  20;
const int ONdrainMIN3  =  13;    //  && t.min == ONpumpMIN3  is to be mentioned in water pump section

const int OFFdrainSEC =  50;
/////////////////////////////////////////////////////////////




void setup() {
  Serial.begin(115200);
  rtc.begin();

  u8g.setFont(u8g_font_profont12);
  
  pinMode(Drain_Relay2, OUTPUT);
  digitalWrite(Drain_Relay2, LOW);

  pinMode(Float_Sensor, INPUT_PULLUP);
  pinMode(Pump_Relay1, OUTPUT);

}

void loop() {
  t = rtc.getTime();
  //////////////////////////////////////////////////////////////////////////////////////
  Serial.println("========================================");
  Serial.print(rtc.getDOWStr());
  Serial.print(" ");
  Serial.print(rtc.getDateStr());
  Serial.print(" -- ");
  Serial.println(rtc.getTimeStr());

  //////////////////////////////////////////////////////////////////////// float sensor for solenoid valve
  if (digitalRead(Float_Sensor) == LOW)
  {
    digitalWrite(Pump_Relay1, LOW);             // turn Solenoid_Relay1 on:
    Serial.println("Pump_Relay1 : ON");
    u8g.firstPage();
    do {
    u8g.setPrintPos(0, 20);
    u8g.println("Water Pump : ON");
    } while (u8g.nextPage() );
  }
  else
  {
    digitalWrite(Pump_Relay1, HIGH);     // turn Solenoid_Relay1 off:
    Serial.println("Pump_Relay1 : OFF");
    u8g.firstPage();
    do {
      u8g.setPrintPos(0, 20);
      u8g.println("Water Pump : OFF");
    } while (u8g.nextPage() );
  }


  /////////////////////////////////////////////////////////////////////////////// water drain pump
  if ((t.hour == ONdrainHR1 && t.min == ONdrainMIN1 && t.sec <= OFFdrainSEC) || (t.hour == ONdrainHR2 && t.min == ONdrainMIN2 && t.sec <= OFFdrainSEC) || (t.hour == ONdrainHR3 && t.min == ONdrainMIN3 && t.sec <= OFFdrainSEC)) {
    digitalWrite (Drain_Relay2, LOW);
    Serial.println("Water Drain : ON");

    u8g.firstPage();
    do {
      u8g.setPrintPos(0, 10);
      u8g.println("Water Drain : ON");
    } while (u8g.nextPage() );
  }
  else {
    digitalWrite (Drain_Relay2, HIGH);
    Serial.println("Water Drain : OFF");
    u8g.firstPage();
    do {
      u8g.setPrintPos(0, 10);
      u8g.println("Water Drain : OFF");
    } while (u8g.nextPage() );
  }

}