clicking the ready-button will save the changes made to the text