Bugfix for "made closeOnSelect option work"

Your implementation didn't fully work for me, so I quickly patched it. When I set the closeOnSelect option to true and the closeOnDeselect option to false, I expect the dropdown to stay opened, even when I a deselect any previously selected item.