Dropdown toggle when multiple libraries are available fix