Finished the search bar implementation.