added a button to layout