Setting the contents list to change when button pressed