How to switch a 220V AC electric bulb using a relay through Arduino?
One issue is that you do not have a fixed grounding resistor on the transistor.  This may not always be needed.  However the Uno ports are not programmed at reset or when there is no program running.  In those cases the port may be set to a high impedance input with or with out a light pull up resistance.  In this case you might be unknowingly turning the transistor on intermittently with noise or pull up leakage current.  

To insure stable operation be sure to set the controlling port pin quickly to a digital output and set the initial logic value.  Adding a resistor to ground, (before or after the existing 10k) will help prevent an open port or a light pull up from activating the transistor. With a 5v Uno a matching 10k should be OK. Lower resistor values reduce the chance of unknowingly activating the transistor, but at some point the high signal will not be able to turn it on.

If immediate switching time is not critical adding a small cap on the transistor base to ground can prevent fast multiple ON-OFF cycles that could reduce the life of the bulb. (Maybe 1uf).