adding menu buttons to main layout