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

        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
        shareButton.enabled = false
        self.subscribeToKeyboardNotifications()
    }

    override func viewWillAppear(animated: Bool) {

        // Reset the value of the TextField in case it becomes empty
        if (textField.text?.stringByTrimmingCharactersInSet(NSCharacterSet.whitespaceCharacterSet()) == "") {
            if (textField == topText) {
                textField.text = defaultTopText
            } else {
                textField.text = defaultBottomText
            }
        }
    }
    
    func keyboardWillShow(notification: NSNotification) {
        if (editingField == bottomText) {
            view.frame.origin.y = 0 - getKeyboardHeight(notification)
        }
    }
    
    func keyboardWillHide(notification: NSNotification) {
        view.frame.origin.y = 0
    }
    
    func textFieldShouldReturn(textField: UITextField) -> Bool {
