Prevent activityNotFound