fixed notification issue when calling black and white