I still haven't worked out the problem. At least now I am able to update
the window, but only after I click a second time (after deleting the
object)- Does anyone know why the window is not updated after I gave the
command, but after the second mouse-click?