update button labels and refactor invitedgames case when a player has been invited to no games