closed #3137: Device::setAccelerometerEnabled needs to be invoked before adding ACC listener