Text is not saving the changes made to the text