Fixed clear_custom_buttons (clear_primary_action)