Adding dynamic text to the layout