Create a local variable under event 2 (name "hasChanged" for example, number)
Event 3 add an action set hasChanged to 1
Event 4 and 5 add a condition "hasChanged = 1"
Event 4 and 5 add an action "hasChanged = 0"
It will allow to prevent the "automatic switching" since it will execute event 5 only if "hasChanged = 1", that is to say that music = 0 AND event4 wasn't executed yet, since hasChanged is still = 1