Fix: accelerometer crash due to ON bool. Removed ON Bool and replaced with CMmotionmanager.accelerometerActive