Update sample app to use the new ui-lib and sdk capabilities