correctly selected when there is more than one brand (stupid mistake).
Also fix problems when the user changes some material information.
Contributes to CURA-5682.
When a material is selected, but the brand or the type is collapsed,
those components are also highlighted to indicate the path to the
material.
Reuse the MaterialBrandSection also for the generic materials, that
allow us to only mantain one component.
Contributes to CURA-5682.