device and activity change