Prey preference of top predators manipulates the functioning and stability of multi-trophic ecosystems