Changed the notifications callbacks