changed how the button replacement works to handle situations where the audio doesn't load properly