Store the part itself instead of only the part id, because the part id is not independent from the current selected visualization.
Authored by: josefjordan 2023-11-20
Parent: [r1199]
Child: [r1201]