Redraw ui at the start.