Fixed so when setting new text, the toolbar is updated with the new texts attributes