Add animation finished judgment

I have a rotate animation ,  because i test it start all alone, the app
is crash. I found it the currentGroup's value should be 0 , but it
become 1.