reflect connectivity change on UI