i have a button on my UITabBar (custom) and animations when the button is clicked doesn't perform until you press it twice. A print statement that i used print's on the first try though so i'm not sure why it doesn't perform the animations on the first try. Here is my code: (custom) and ani