Added functionality to check/uncheck all checkboxes by clicking "All".