Capture the selfie at the right moment