Can now switch between activities and pass data.