             
             // When not reusing force to relayout view
             needRelayout = true
+
+            // Setting text's font size and color
+            messageText.textColor = self.cellLayout.textColor
             
             if self.cellLayout.text != nil {
+
                 // Setting text
                 messageText.text = self.cellLayout.text
+            } else {
                 
-                // Setting text's font size and color
-                if (isOut) {
-                    messageText.textColor = MainAppTheme.bubbles.textOut
-                } else {
-                    messageText.textColor = MainAppTheme.bubbles.textIn
-                }
-            } else {
                 // Setting attributed text
                 messageText.setText(self.cellLayout.attrText)
-                
-                // No need to set text color and font as it is specified
-                // in NSAttributed string
             }
             
             // Setting sender name if needed

    /**
        NSAttributedString layout
    */
    init(attributedText: NSAttributedString, date: Int64, isOut: Bool, peer: ACPeer, layoutKey: String = TextCellLayout.textKey) {
        
        // Setting attributed text
        self.attrText = attributedText
        self.isUnsupported = false
        
        // Building padded text

    private static let parser = ARMarkdownParser(int: ARMarkdownParser_MODE_LITE)
    
    var text: String?
    var attrText: NSAttributedString?
    var textColor: UIColor
    
    var isUnsupported: Bool = false
    var textSizeWithPadding: CGSize
