Update Activity variable.