improving the expanding options for selection, logging the speed of the queries, providing the expand preferences