add event handler "onhfpstatuschanged"