add removeall button logic