Fixed warning in PreferenceWindowController.m

Fixes "Format string is not a string literal (potentially insecure)" warning by proper usage of NSString stringWithFormat notation within preview:(id) sender