It's changing because it's outside of the trigger, and the value is changing randomly.
In the original project there is no random change. Even so, it is not working properly. :(
Can you send the corrected CAPX?
I want to better understand what's going on with the trigger. ^^