You have still not addressed the problem of using the transistor in the wrong configuration. You want a common emitter circuit not a common collector.
If i don't have a load connected on the relay it doesn't happen.
Which means you are getting interference from switching the mains, you need to include a snubber circuit in line with your lamp.