Adding buttons to main layout