Corrected addActivity