added activityInTripSwitch demo