Support for setting active layer in task