implemented "(un)select all" in stats tab