added alerts in SettingsViewController