succesfully refresh paintpanel