EndActivity init part 2