Fixes problem when copying applications

The menu value of a layertree element must be a list, not a boolean.