added an itemclicklistener in the unitselect for getting the clicked class.