Add sound and music preference check before starting background music