Bugfixing Movement Detector for Sensor