- Overriding setAttributedText & setText and updating toolbar state to make sure that when the text is changed through code the toolbar gets updated