Fixed bug in image component toolbox. Can now update number of images in task and toggle between edit and preview displays the correct number of images