Strip spaces from search queries.
Reload uitableview data on main thread with animations.