restructure setupmenu code, add backlight type