fixed menu items active selection
replaced entity manager with manager registry