Using CPLD display with multiple screens and buttons

Hi all, I am using a 5.0 inch CPLD display with a mega and UTFT, UTFT Buttons and URTouch.

I also have a RTC (DS3231) incorporated in the shield this is to be displayed on each screen.

I build 3 separate screens with quite a few buttons on each screen.
I load screen 1 first and everything seems OK, but when I switch to the second screen, screen 2 is shown OK but has NO focus. This means I cannot write to this screen. This also happens with screen 3.
This also causes button highlight problems on second and third screens

My question is :- do I in some way have to set the Focus to the new screen to write to it and get the buttons to animate properly?

code is now attached.

Trevor

Arduino_CH_ControllerV2.ino (15.4 KB)

Problem Sorted!!!.

Note to self:- Please read documentation carefully in future.