Refresh the declarations of icons, their filenames their sizes and remove useless icons.