fix wrongly resetting notification badge color at every update