[MainActivity] fix animation crash