Fixed bug with texttool bar which would not disappear after clear page button is pressed