THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
My problem was that I created a label with constant modalmodel, that is set to the value of currentItem.getName. So even if you change current item later, the item container is not recreated, thus the label still shows old current item name.
...