UAT-128 fix

To change the behaviour of checking whether subset is changed or not when user clicking advanced workflow's tabs. New way is to store the subset query as reference in the tab object and then compare it when user click the tab and refresh the subset only when user's changed the subset.