On the "OverlayShow" function, the script toggles the activity label between the current activity and the "Lights Control" label so the user knows that the overlay page is on top of the Satellite activity.
Now on the "OverlayHide" function, the script resets the activity label to the current activity.
The problem I have is that that the activity label does not stop blinking, the "OverlayShow" function script always runs. Is there a way to halt the script in the "OverlayHide" function?
I have searched the forum and looked into the developer guide but cannot find the answer.