Removed the local variables for LayerControl

fixed the bug:
https://github.com/ChristopherStephan/IWGI-Speech/issues/34