add fetch icon from url support
support fetch icon for package app
remove redundant code