Hi zeRoau,

I put your code into the callback function and it's working as it should now.
Thank you for your help.

opiston