hacking to fix photo grouping bug (add defered grouping for fist click)