         }
         
         if let previewViewController = segue.destinationViewController as? PreviewViewController{
-            
-            if let textView = currentlyEditingTextView{
-                textView.resignFirstResponder()
-            }
+
             previewViewController.recipients = recipients
             previewViewController.modules = tableViewDataSource.tableData
             previewViewController.mailboxDigipostAddress = mailboxDigipostAddress

        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)

        deleteComposerModuleView = NSBundle.mainBundle().loadNibNamed("DeleteComposerModuleView", owner: self, options: nil)[0] as! DeleteComposerModuleView
        deleteComposerModuleView.addToView(self.view)
        deleteComposerModuleView.show()
        snapShotView.transform = CGAffineTransformMakeRotation(-0.02)
        let offset = tableView.frame.origin.x
        snapShotView.frame.size = CGSizeMake(snapShotView.frame.width, 44)
