Fix multiple input type changes bug.

fix  https://github.com/xhzengAIB/MessageDisplayKit/issues/35