Work but problem is when two or more photos are taken in same time (second). This is TODO.