I think I know what was the problem.
Fortunately, a few days ago I made a backup of the SD card and just copied its contents on the card. 3DS has loaded applications and theme. I checked today's copy of the card and it turns out that for some unknown reason the contents of the application folder...