add onSensorChanged (event) to Extension