Please add a confirm dialog box when you clicked "Clear inventory".