Fix the problem:
Can not cancle the ProcessDialog when click the device info button