Hi,
I found a great solution which works for me. Solution described here
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/authoring-cq-flow-and-cq-workflow-flow-step-undefined-after-6-5/td-p/445662
In short: clear the localStorage.
Best Regards,Ilya