Close dwopdown when user clicked on an item inside the dropdown list