Changed app so that text field is now altered by string instead of char sequence. Also made alterations to onPause which resets data in label