Thank you for making this app!
It might sound counterintuitive, but some HoH (hard of hearing) users might actually be listening to media in the foreground when a noise triggers a background alert. They might have headphones or might have audio piped to aids over BT. So, it might make sense to pause foreground media, if that's possible, in order to let the user shift focus to the alerting noise, ideally isolating and amplifying the noise a little and sending it to the phone's audio output. Aids do this to some extent but maybe not when media is playing.