update uiauto with loopInfinitely feature