redraw ui, prepare for commit changes