In my application I found this change necessary to change initialSelction on rebuild of the widget tree