save last params after repaint