Make notification global and remove unused method