Application: win32: fix restore