Adds the correct activity category for Tumblr.

Also, checks whether 7 is defined to avoid compilation errors. I'm pretty sure this is the right way to do it, but I could be wrong.