registry fieldsets in admin panel

Old code was not working at all, I make several connections to apps but no app show categories in admin, after change the code I get some solution, I don't know is perfect but is working now.