You are still accountable for buying the hat. Not anyone else's fault. But there are slips of the finger and a further conformation button would be useful.
Moving on, there could be a more useful system of organising your hats. Such as, Recently Worn ect. I'm not entirely sure if this would cause complications but you would need a more knowledgable scripter to tell you that