Connected search logics with its button, showinf error msg if no image found