/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
3. After that, relaunch Finder by holding down the "Alt" key and right click the finder icon in the Dock, then click "Relaunch".