This question already has an answer here:
On the Activity section of the profile page, there's a little blue hat in the top-right corner of the badge section. When I receive a badge, it gets partially covered by a congratulatory message. When I press "Let us pick" to dismiss the message, or dismiss it by any other means, the blue hat in the corner disappears entirely.
The fact that the message partially covers the hat seems like it is probably an intentional feature, and is addressed elsewhere.
The fact that the hat disappears after dismissing the message seems like it is a separate issue, and probably unintentional/undesired.