Accelerometer.isShaking keeps working when not shaking device

For my code, the screen changes when the device is shaking. However, right when the code opens, the block checking whether the device is shaking starts and does not stop, even when the device is not shaking. It does not stop even when changed to another screen, and when the shaking code is called on the second screen, it still does not stop (even when the device is not shaking). Are there any solutions to this?

(Canned Reply: ABG- Export & Upload .aia)
Export your .aia file and upload it here.

I'm not sure, but it may just be the device I am using.
My file is a bit big, so here is a drive link for download.


Go through all your Screens, and check the minimum interval of those shaking sensors.

Does 1 ms make sense, if you are complaining about over-frequent event firing?

Also, change your Screen switching technique to close the current screen as it opens the next screen, to turn everything off.

thanks for your help, i'm still learning here and it's a completely new thing to me