Added make_sure_dialog for GUI mode
Refactoring auto_flash_from_TWCI.sh