One option is to use temporary state to temporarily update a variable. Something to keep in mind is that temp state values are reset each time your app is loaded, but that sounds like it would work for your use case. We have docs here: https://docs.retool.com/docs/temporary-state