Add option for select single/ multiple group.

Add option for select single/ multiple group
Update Some function