set $pristine after Apply changes