Fixed onselected event is not triggered
delete old test
add a demo