Localized behavior of f-electrons in CeAg: a theoretical study