set the active layer for the advanced calculator