Fixed line detector variable declaration generation
Fixed unwanted sensors multiselection after some clicks on them
Merge pull request #1307 from dvvrd/robots

More bugfixes for a11