App crashes on updating network info