halfway through fixing the issue with appending to the textview