Thanks Paul.
I am really having problems with the quirks of this language.
== vs =
{ } and their use sometimes.
and some other things which creep in now and then.
Yes, the if (time == 0) would be more correct.
The two curly brackets are left overs from older code.
I am now "stuck" with keeping the code in the menu blocks waiting for the right code to exit from them.
I think I have it right, but it probably not the best.