Fixed activity view problem without session in activity.