
Open OnyX.

Open the Maintenance pane.

Select the LaunchServices checkbox, and deselect the other checkboxes.

Click the Run Tasks button.
If the Open With shortcut menu of the Finder displays duplicate applications or applications that are not installed anymore, OnyX can help you correct the problem. You should let OnyX rebuild the LaunchServices database.
Open OnyX.
Open the Maintenance pane.
Select the LaunchServices checkbox, and deselect the other checkboxes.
Click the Run Tasks button.