fixed activy menu disappearing after failed activites.