PreferencePane working properly