Thank you for your help, very nice 
As both of you suggested I have recreated the menu with the gui now, and its working!
There were some minor problems with the wrong (default?) options dialog popping up with your code, I guess its related to the tumbleweed theme, but I could figure it out. Thanks again for your input and pointing me in the right direction.

As both of you suggested I have recreated the menu with the gui now, and its working!
There were some minor problems with the wrong (default?) options dialog popping up with your code, I guess its related to the tumbleweed theme, but I could figure it out. Thanks again for your input and pointing me in the right direction.