add xml properties: globalzorder, callback for menuitem (need override for every class)
reset showed level on click by cancel upgrade
minior refactoring
minor changes