Added functionality to buttons when player selected