Screen flickering

Hello,

I’m currently working on writing an interface program using ESP32-8048S070 and generating code with Squareline Studio. However, when I execute EEPROM.commit() to write data to EEPROM, the screen experiences flickering. The update interval is set in the void loop() as follows:

void loop() {
lv_timer_handler(); /* let the GUI do its work */
delay(5);
}

How can I solve this problem?