Added a select listener.

Hi,

I've added a select listener.

Best Regards,
Xavier.