made it so that the notification count on the top of the screen updates on delete