Solved a small delayed when toggling edit button in GalleryVC. It was produced by and unnecessary reload gallery after the editing is done.
Fixed #182. The bug was due to 2 things: the modulus was not correct when computing -1 mod 1. Then in each loading with just one image, the previous image was erased. It has been solved treating the 1 case separately.