Fix an exception while loading the Advanced editor

We were trying to handle "list" before having instanciated it, so we obtained a wonderful NPE. I moved some code, it should be better... I don't obtain the exception anymore. @agouge should be pleased with that :-)