Change Alert dialogs in order to prevent exception