Changed Hats update and fixed button click