One thing to notice is that controls are notified of changes in variables that are used in their properties - if the UpdateContext (or Set) call in a screen sets a variable to the same value that it had been set before, then no controls will be notified of it.
For example, if in a screen you have on its OnVisible property this expression:
UpdateContext({v: true})And you have a toggle whose Default property is set to 'v', when you first navigate to that screen, the value of 'v' will be changed from nothing (Blank()) to true, and the toggle will be notified of that change, updating its value to selected (On).
If, in that screen, you change that value by changing the toggle back to unselected (Off), navigate to a different page, then navigate back, the OnVisible handler will set the value of 'v' to true - but that was already the value that it had, so nothing changes and the controls don't get notified of any changes, so the toggle won't be turned on.
If this is your scenario, there are a couple of things you can do. You can force the value of the variable to change:
UpdateContext({v: false}); UpdateContext({v: true})Or if the value is being used for a default value of a control, you can explicitly call the Reset function on the control, to force it back to its default value.