fix bug and add api
implement OnSelectedListener