Selectmenu: call refresh(): this.menuItems was undefined

Calling refresh() on selectmenu without an option throw error: "this.menuItems is undefined"
Now i create this.menuItems also for selectmenu without option and in open function i check if this.menuItems realy has an item.

Fixes #10662
This test is unnecessary. The subsequent test already covers this scenario.