add notification observer to LibraryAPI class