Fix add_action_buttons method