added selected class when a player is selected