                 cell?.moduleTextView.addPlaceholder()
                 cell?.setLabel(textModule!.font)
                 cell?.moduleTextView.becomeFirstResponder()
-                currentlyEditingTextView = cell?.moduleTextView
                 cell?.moduleTextView.delegate = self
             }
         }

        tableView.endUpdates()
    }
    
    func textViewDidBeginEditing(textView: UITextView) {
        currentlyEditingTextView = textView

    }
    
    func textViewDidEndEditing(textView: UITextView) {
        if let indexPath = indexPathForCellContainingTextView(textView){
            if let textModule = tableViewDataSource.tableData[indexPath.row] as? TextComposerModule {
                textModule.text = textView.text
            }
        }
        currentlyEditingTextView = nil
    }
    
    func indexPathForCellContainingTextView(textView: UITextView) -> NSIndexPath? {
        let location = tableView.convertPoint(textView.center, fromView: textView)
        return tableView.indexPathForRowAtPoint(location)

    var deleteComposerModuleView: DeleteComposerModuleView!
    
    var tableViewDataSource: ComposerTableViewDataSource!
    var recipients = [Recipient]()

    // used when calculating size of textviews for cells that are bigger than one line
