Fixed bug in adding image from viewer to collection, toggle all function also toggles selection in collection table