I have added 'index' argument in callback function 

In the callback function the user can get index of the last selected item