auto refresh UI when device disconnected