fixed more problem with update badge in background