Tidy up TextPlay code

Moved some code to a seperate method
Merge onClickListeners in TextPlay class