Fixed settings serialization and persistence of tag tree sorting