Remember window state after close player.