Searching causes the android application to freeze.