Dock icon setting is restored when closing license window; fixes #311.