added delete functionality for the material list