Troubles using "Serial." library

the semicomma in that specific point didn't let the "if statament" do its work properly.

Yes an unsurprisingly it is the first thing I looked for in your code when I first read the post.

Anyway good luck with the rest of it.