Move notification outside ()() to make event work