add api deselect,complete select function.
add api deselect,complete select function.