Fix toolbar's trash logic