Refactor clear button title to a 'clearText' option for i18n

Let me know if there are issues and I will make changes accordingly.