People unknowingly leave behind their personal data when getting rid of an old smartphone, but this can be dangerous if it falls into the wrong hands.