Isn't there an event 'onClick' instead of Afterselect ?