Stop playing the bgm on exit and resume (if necessary) on relaunch
Fix crash on device