Removed unneeded code from search box listener