[FIX] Logic error for notification setting