[trashbin] toggle select all checkbox

toggle select all checkbox correctly.

cc @PVince81 

fix #6353