Created ConfirmDialogPreference, added intent in MainActivity, deleted DialogPreference in SettingsActivity