Added parseInt when retrieving coins from localstorage.