Fixes the functionality for the destroy function on prisms. Also, the destroy function is working now. It appears as a third button in the myprisms page.