void updateSelection(List<BodyPart> parts) { setState(() { selectedPartsList.clear(); selectedPartsList.addAll(parts); }); }