On the first screenshot - remove "Wait 0.2" and "Wait for previous action to complete", they are not needed.
On the second screenshot - you are saving values to Local Storage on every tick, this is a big no-no. Local Storage operations are asynchronous, they require time to complete. You are basically reading and writing values in Local Storage at the same time, this is why they reset to default.
You should only save to LS when it's safe to do so. For example, at the end of the level.