Is it any other way to make the code better, and more flexible? Should I fetch once, or is it okay to fetch twice? Currently it\'s fetching from the geolocation and then storing