Feature request: add onDeviceSelected callback