The code looks good and media does now stop playing, but if you press the square button or circle button (at the bottom of the phone) to close the app then reopen it (without ending the app by swiping it away), then any sound buttons which had been pressed are still colored black as though they are still playing, and pressing them crashes the app.
If this isn't fixed by user testing, then we'll merge it, but for now see if you can figure this bug out
The code looks good and media does now stop playing, but if you press the square button or circle button (at the bottom of the phone) to close the app then reopen it (without ending the app by swiping it away), then any sound buttons which had been pressed are still colored black as though they are still playing, and pressing them crashes the app.
If this isn't fixed by user testing, then we'll merge it, but for now see if you can figure this bug out