j.set({fill: '#ddd', stroke: 'red'});
                obj.part.findObject(textName)?.set({stroke: 'red'});
                if (lastPanel) {
                  let tab = obj.part.findObject(`${obj.part.lastPanelName}Tab`);
                  let text = obj.part.findObject(`${obj.part.lastPanelName}Text`);
                  tab?.set({fill: 'white', stroke: "white"});
                  text?.set({stroke: 'black'});
                  //make it invisible (the actual flow panel)
                  lastPanel.set({vis