Fix crash after back after push while app inactive