BS-8599: Register PoolNotificationListener when opening the diagram
instead of when creating a new diagram. Otherwise the label renamed is
not updated in cache when reopening a diagram.
BS-8599: clean code