Save settings properly (can't delete on localStorage like one would on an object). Select the proper text on tm.insertText.