add the icon and cancel Debug mode