         save()
         
         let ShareVC = UIActivityViewController(activityItems:[memedImage], applicationActivities: nil)
-        self.presentViewController(ShareVC, animated: true, completion: nil)
+        presentViewController(ShareVC, animated: true, completion: nil)
     }
 }
 

    
    func save() {
        //Create the meme
        self.memedImage = generateMemedImage()
        let meme = Meme(topText: topText.text!,
            bottomText: bottomText.text!,
            image: imageView.image!,


    func textFieldDidBeginEditing(textField: UITextField) {
        // Clear the text field if it's filled with the default value
        editingField = textField
        
        if (textField == topText && editingField.text == defaultTopText) {
            textField.text = ""
        }
        
        if (textField == bottomText && editingField.text == defaultBottomText) {
            textField.text = ""
        }
    }
