fixing sound not working with localstorage