use an Event to signal when to redraw the gui