You have different notification "type" in if and else body.