Implement select/deselect all button functionality