     var avatarView : UIImageView!
     var cameraButton : UIButton!
     var cancelButton : UIButton!
-    var didConfirmCancelation : Bool
     var submitButton : UIButton!
     var buttonContainer : ElloEquallySpacedLayout!
 

    }

    func cancelEditing() {
        if didConfirmCancelation {
            sayElloOverlay.hidden = false
            textView.text = ""
            resetConfirm()
        }
        else {
            textView.resignFirstResponder()
            prepareToConfirm()
        }
    }

    private func resetConfirm() {
        didConfirmCancelation = false
        cancelButton.backgroundColor = UIColor.clearColor()
        cancelButton.setImage(ElloDrawable.imageOfCancelIcon, forState: .Normal)
    }

    private func prepareToConfirm() {
        didConfirmCancelation = true
        cancelButton.backgroundColor = UIColor.redColor()
        cancelButton.setImage(ElloDrawable.imageOfCancelConfirmationIcon, forState: .Normal)
    }

    func textViewShouldBeginEditing(textView : UITextView) -> Bool {
        resetConfirm()

        return true
    }



        cancelButton = UIButton()
        cancelButton.setImage(ElloDrawable.imageOfCancelIcon, forState: .Normal)

        submitButton = UIButton()
        submitButton.setImage(ElloDrawable.imageOfSubmitIcon, forState: .Normal)
