A Hobart high school principal tired of dealing with cyber bullying and distracted kids says students thanked him after he banned smartphones from the classroom.