created confirmPreference class and created dialog xml