moved the removal of event listener on player's reinitialization