Actually I forgot that I had a "lock screen" at the very beginning of my script. And successive "lock screen" cumulate. Therefore the following sequence doesn't update the screen layout : lock screen ...... lock screen ...... unlock screen lock screen Funny how I can get stalled with very basic things sometimes...