Unable to click on bluetooth button on iOS controller center

Hi Team,

I am trying to automate enabling/disabling bluetooth from iOS controller center.
But for some reason i am getting this error .

org.openqa.selenium.NoSuchElementException: Can't locate an element by this strategy: By.chained({AppiumBy.id: bluetooth-button})

I have cross verified the ID.

The code is

openIOSControlCenter();
waitForElementToBeDisplayed(5, iosControlCenter.bluetoothButton);
if (iosControlCenter.bluetoothButton.getText().equals("0")) {
	iosControlCenter.bluetoothButton.click();
	Assert.assertEquals(iosControlCenter.bluetoothButton.getText(), "1",
	"Bluetooth wasn't enabled");
	logger.info("Bluetooth was enabled");
} else {
	logger.info("Bluetooth was already enabled");
}