Fix stuff reported by inspections
Refactor MXIMessageTextViewDelegate