added function to restart music when leaving game and coming back (like changing browser tabs)