Implemented the select/deselect all checkbox