Rebuilding the LaunchService database can be done by running a command in a
Terminal:
/System/Library/Frameworks/CoreServices.framework/Versions/A /Frameworks/LaunchServices.framework/Versions/A/Support/lsre gister
-kill -r -domain local -domain system -domain user