 	override func viewDidLoad() {
 		super.viewDidLoad()
 
-        setTextFieldProperties(topText, attributes: memeTextAttributes, displayText: "TOP")
-        setTextFieldProperties(bottomText, attributes: memeTextAttributes, displayText: "BOTTOM")
-    }
-
-    func setTextFieldProperties(textField: UITextField!, attributes: [String : AnyObject], displayText: String?) {
+        setTextFieldProperties(topText, displayText: "TOP")
+        setTextFieldProperties(bottomText, displayText: "BOTTOM")
+    }
+
+    func setTextFieldProperties(textField: UITextField!, displayText: String?) {
         textField.delegate = self
-        textField.defaultTextAttributes = attributes
+        textField.defaultTextAttributes = memeTextAttributes
         textField.textAlignment = .Center
         textField.text = displayText
     }

        let chooseFontController = segue.destinationViewController as! ChooseFontViewController
        chooseFontController.chooseFontViewDelegate = self
    }
    
}

	}
    
	@IBAction func pickImageFromAlbum(sender: AnyObject) {
        pickImage(UIImagePickerControllerSourceType.PhotoLibrary)
	}

	@IBAction func pickImageFromCamera(sender: AnyObject) {
		pickImage(UIImagePickerControllerSourceType.Camera)
	}

	func pickImage(sourceType: UIImagePickerControllerSourceType) {
		let imagePickerController = UIImagePickerController()
		imagePickerController.delegate = self
		imagePickerController.sourceType = sourceType
		presentViewController(imagePickerController, animated: true, completion: nil)
	}

