Pending bug: call animation end before saving fragment