Prefs shortcut cleanup

Removed unnecessary code.