fixed the button animation conflict