I'd give you the code but its not properly indented.
There you go again, you shouldn't just indent for this website, but also for yourself. Your code should've been indented as standard.
And seriously, I find the manual extremely readable and educative. I learnt the GUI in only a week orso, without forum, without assistance, just by using the manual.