Activity context is stored before adding activity