add event handler "onpairedstatuschanged"