refactor code to speed up favorites UI
core-5761 fix search field for add apps dialog in pipeline builder