Redraw on app close