modified changes to support intent demo with intent filters.