Added functionality for the user to delete a feature