added `clear_selected_on_click_outside` to ButtonList.