updated storeStatus func to update the location_text