How can I change a varible through my menu structure

I would like to help, but really I don't understand your problem, and most importantly I can't read this code!

I suggest you use: http://indentcode.net :slight_smile:

(I prefer the Allman-style indent, but can't find an online tool for this..)