Added functionality for check-all toggle button