Switching animation on/off not working


I've tried to get a on/off switch for my animation (react on gyro) to work. And i got it to work fine in the editor, but when in the home screen the switch just moves the compass from north to east and gets stuck. The fact that it works in the editor makes me think it is a bug in klwp. I've seen someone else report this problem, but that's a 4 years old post, no solution and only 5 up voters. So maybe you can look into this again, cause the problem seems to be still there.

Regards Max