Added network check before fetching new registrationID