Added addDeviceHandler call

Added addDeviceHandler call