why is there an on/off switch on solar lights