Do this contains() check before calling update_button() will make it more effective.
And try this:
Struct menuitems
{
Adafruit_GFX_Button menuitem ;
Do this contains() check before calling update_button() will make it more effective.
And try this:
Struct menuitems
{
Adafruit_GFX_Button menuitem ;