Replaced hard coded alert with new settings value.