retrace the GUI