text when layer is hidden changed