ixed a bug causing the application to crash when restoring multiple itemps at once