Implement select all and select none