How a selfie saved a Texas man from 99 years in prison