add buttons to main view