public override void ViewDidLoad ()
		{
			base.ViewDidLoad ();

			// load the saved (or default) settings
			settings = new Settings ();
			settings.Load ();

			SetupButtons ();
			SetupTextView ();
			SetupImageView ();
			LayoutViews ();

			// subscribe to the popped controller event
			((RootViewController)NavigationController).ViewControllerPopped += HandleViewControllerPopped;
		}
		void HarvestSettings ()
		{
			settings = settingsDialog.ResultSettings;
			settings.Save ();

			// warn user if the image save is turned on so they don't accidentally fill up their photo library with junk
			if (settings.ImageCaptureEnabled && settings.SaveCapturedImagesToPhotoLibrary) {
				string message = string.Format ("You have enabled still image capture and saving to the photo library. This will save a captured image to your photo library once every {0} seconds", settings.ImageSaveIntervalInSeconds);
				Utilities.ShowMessage ("Warning", message);
			}
		}
		public SettingsDialog( Settings settings )
		{
			this.settings = settings;
		}