Changed to use the preference.

To add or change the application of the shortcut target.