searchDisplayController removes my searchtext
<p>I need help with the searchDisplayController.
Right now I am using the searchDisplayController with textDidChange,
but whenever I press search or on one of the rows my search text is removed from the searchBar. 
After that it returns to textDidChange and I execute my code with an empty string.
Can someone help me please?</p>

<p>Thanks in advance</p>

<pre><code>- (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar{

    if(connectionStatus.boolNoConnection||connectionStatus.boolErrorConnection)
    {
        [self.searchDisplayController setActive:NO animated:YES];

        MKCoordinateSpan span;
        span.latitudeDelta = 2.5f;
        span.longitudeDelta = 2.5f;

        CLLocationCoordinate2D location;
        location.latitude = 52.30;
        location.longitude = 5.45;

        MKCoordinateRegion region;
        region.span = span;
        region.center = location;
        [map setRegion:region animated:YES];
    }
    else {
        if (![geoArray count] == 0) {
            [map removeAnnotations:pins];
            [pins release];
            [pinPlacemark removeAllObjects];
            [self readArray:geoArray];  
            [self.searchDisplayController setActive:NO animated:YES];   
        }
    }
}
</code></pre>

<p>I only call the searchdisplaycontroller here, nowhere else</p>
