How is this trademark infringement? Generally speaking, you're allowed to use a trademarked word in a different field (and even trademark in that field yourself!).
The classic example is Dominos pizza vs. Domino sugar:
http://www.wolverine-startuplaw.com/2014/03/06/analyzing-the...
Here, "Gnome" is being used in two "technical" contexts... but that's a pretty broad brush to paint with for claiming overlap.