Chore: Refactor search logic from UI components to BreedingManagerService

GCP-10201

Reviewer: Daniel Villafuerte