added dynamic search in favorites