Custom keyboard layout problem High Sierra I have just upgraded my OS to macOS High Sierra.

I have been using a custom layout for my Magic Keyboard. But after upgrading to the newer version is stopped working. 

I have installed the custom keyboard again using Ukele, but it doesn't work properly. 

Here are some weird problems I have encountered


It shows the custom layout in top bar. However I am not able to select this layout. Also this layout is missed in the System Settings. 

After rebooting, it may be able to switch to the custom layout and even work correctly, but after some time it may stop working, or there are a lot of duplicated layouts will be displayed in the Settings.

When switching to another input source using Cmd-Space it may show an empty list item without any title.
I need to add my custom layout every time I reboot my laptop.


Please suggest how to fix this problem, I cannot work with the default keyboard layout.

UPDATE 

Something really weird is happening to new OS 

Here is duplicated layouts, and as far as they are same, I can't remove duplicates.
Some things to try based on others who have had this kind of problem with other keyboards


Make sure you do not have Siri turned on and that its keyboard shortcut is set to none.
If your layout is in Home/Library, try Library instead.  And vice versa, and try it in both at same time.
Disable any antivirus apps
Safe Boot    
Set up new user account and see if it works when logged into that