Well you have at least two conflicting events. One which says when attacking set animation to attack, while at the same time another says set animation to the player state. Cannot set them both at once so you'll have to stick with one of those methods.
Set Animation >> "ID_NORMAL" and "ID_IDLE"
I did this and it was fixed yes but this time the walking animation is not working. Also, it freezes for a little while after attacking.