Super implementation! Very comfortably! There is one mistake. If you change specialization with a minimum amount of mana, the inscription remains until the UI is reloaded. But this is not critical.
How to add your own .ogg sound file?
("Interface\\AddOns\\AddonName\\SoundName.ogg", "master")