The main save rebuilt config from scratch — per_type always started empty, so clicking Guardar wiped whatever savePerType() had just stored. Now: load existing DB config first, use its per_type as the base, apply POST per_type_menu on top only when it is present. Same for welcome_menu. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>