reindent create_buttons_transport function