Adding buttons to view 1 and view 2.