Added a show preferences button to the “Creating a Preferences Window” example.