Trying to get arduino to react to data other than tag serial number

From your first post

Obviously my problem is in code 3

So look to change that. I can not tell you specifically where because you have posted it as a .ino file. Most mobile devices can not cope with this even though at the end of the day it is just a text file.
That is one reason why we specifically ask you to post code in code tags, it tells you how in the how to use this forum sticky post.