[PSSU/Trac] #3096: Fix the generation of library icon index

Added functionality to move an icon UP in the list.