Add code for handling network changed.