code: public final void setAttribute(@NonNull String newAttribute) {
          searcher.removeFacet(attribute).addFacet(newAttribute);
          updateRefinementWithNewName(newAttribute);
          attribute = newAttribute;
      }
docs: Changes the Toggle's attribute, updating facet refinements accordingly.
  
  @param newAttribute the attribute's new name.