Fixing sensor editor so it can save sensor type and link reference type.