Added clear buttons and onCrafting triggering