Add "CLEAR ALL SELECTION" button
Modularize result set functions