how often is it flashing ?
You could just refresh it off of a timer or create a hardware button with an interrupt to do the refresh or a software button the kicker is I don't know what you are doing.
What is the goal of the end project, do you have an external screen is it a touch screen, etc or is this all phone controlled or web controlled I am rather sure there is a solution...
Returngui as stated will refresh the page the interval this happens at is up to you ...
delay 60000
returngui
Should fix the problem this way it will only flash and update every minute.
add that delay before return gui
The other thing you could do is go even more time if needed every 10 Minutes just add another zero.
Where I buy my ESP8266 boards from... (Banggood)