Making the dropdown more customizable and updating the demo code