correctly display of data on screen

I changed the methods to be able to modify the texts while running the
program