[#194] fixed accelerometer event registration when available