added afterselect callback
Merge pull request #68 from yanawaro/after-select

add after select callback feature