added selecting element for group elements according to current level