There're only two ways to select a child of a ViewStack,
either through selectedChild or selectedIndex. You have to store
one of them with the ComboBox item. Why can't you use the variable
"stack" to point to the child Canvas? Whenever you add a child to
the ViewStack, just keep a reference to the child using the "stack"
variable before adding the item to the ComboBox.