You hit the spot !
It is hard to believe but I just wrote that part long time ago and was just "populating" it since then - I never even paid attention to this because I thought it was correct
Thanks again
now it works perfectly fine.
Edit.
so it means I just overcomplicated that part ?
- LockPubScreen(0) and Unlock.. at the end - ok, I'll change it