[mainsettingsview] fix restore settings loop