main page event when network change