Fixed retrieval of TextView for log display