confirm app activity not null;