Burger animation

Hi everyone. I have one problem with animation. When i click on the button to close burger menu the animation works. And if i click on the background then the menu closes but the animation does not change from close to burger. Thanks for advice.

maybe you can disable the background-close option.