Working with buttons and texts