Restore old settings after cancel.