Losing work and not getting expected results

For the first issue:

Second issue:

Third issue:

Does that SQL query run when the Attention button is clicked? Or is the event handler also set for cell change? Setting the value of a variable is done by running an async function. If there are multiple event handlers attached to the same event, and we need them to run one by one, we should use Run script and use await:

await variableName.setValue('newValue')
await queryName.trigger()