Fixing placement of flash() clickCallback call