rebuild ui with xaml