change search patient button function