added toggle switch for team score