add buttons and tabs