minor bugs in RestoreSetting

+ Check y instead of !q in search