changed where the ShowPreferencesCommand is located