use gui for redraw and save