cancel all notifications function