the select all checkbox also save the selection