Saved Chrome settings not being kept when testing with Appium

String context = getCurrentContext();
driver.context("NATIVE_APP")
driver.findElementById("Close");
click();
 driver.switchTo().window(context);

try above code that should close the Save PassWord PopUp