Move loadNotifier creation into a function
Styling (spacing) refactoring