Added network availability change event handler