Teen takes plea in sextortion case