Andy Miles, 48, co-founder of a social networking app, was worried about the effect of social media on his four children