San Diego teen writes book on quitting social media