Corrected the augmented uiActions object and refactor controller delegate for loop.