getContext() can return null then we need check null before calling onEffectListUpdated