Called search function when changing selected searchOption