Added the possibility to add icons from preferences dialog.