New law bans cellphones in class