Add replaceText function in UiElement

This function will delete the current text of the element and then call setText

Change-Id: I2f97809a54e60bc4448246b8c050792168358147
2 files changed