Change the config item to be a ListPreference. Allow the options of: 0-Display toast only, 1-Email the KML file, 2-Send the KML file to an app in the system that knows how to handle it.