Cannot put the template in the desired outlet

The reason is that there are different outlets that can be selected.
I adapted this code from Notification Banner’s repo.