Fixed async issue with loading markers when fetching data from localStorage.