TikTok settles social media addiction suit before trial