Global var Time not recalling properly

I have a input box on my dashboard with the mode set to time picker.
I pass that value into a function which then stores it as a global variable (using the local file system).

global.set('ShiftEnd1',msg.payload);
return msg;

So I can see the global variable value in the file system, see it be updated and such so all is great.

However, if I close my browser and relaunch the dashboard site, the values are not going back into the time picker. It shows as if I never put anything in there.

However, I can still look at the local file system and see the "global.json" still has the correct value.

Am I doing something wrong?

What have you done to feed the global saved value into the time picker on startup?