DB query/search improve: create UI before load data, Refactor DB query.