Added required code for multiple selection.

Now only the listener need to be implemented.