udpated soundtrack switching logic