Completed the delete feature for the theme