Your welcome, I'm just want to see cyclists, like you and I, stay as safe as possible.
I would also recommend buying brand name products instead of cheaper generics because the cheaper generics over rate their lumens by at least 100% meaning a 200 lumen light is actually only 100 lumens or less! Also you have to be careful of generic brands batteries catching fire when recharging. On Amazon here in America you can get a really nice tail light called the Cygolite Hotshot Pro 150 (that is the max lumens too) for only $36, see:
https://www.amazon.com/Cygolite-Hot...7816&sr=8-3&keywords=cygolite+hotshot+pro+150 It's recharged via a USB port and wire which is included of course, but you have to have something with a USB port that you can plug the light into.
Cygolite also has a good range of low costing headlights, you can get a Metro Pro 1100 (lumen, that's a lot of light too) for just $68, or if that's too much you can also get a Metro 700 (still decent brightness) for just $49. You can see their full array of headlights here:
https://www.amazon.com/s/ref=nb_sb_noss_2?url=search-alias=sporting&field-keywords=cygolite+metro+
A note on the flashing stuff, you do need to check to see if flashing lights are legal in your country before you buy anything, if so this is how I run my lights.
During the daytime I run only my tail light at max brightness on flash, or in my case pulse (pulse means that it goes from bright to dim and back), at night I run the tail light on steady at full brightness. The Hotshot pro180 has a large variety of modes you can select.
Why do I run the light on flash during the day and not steady? Because the bright sunlight can defuse a steady light, or make it less attracted by a motorist, so a flash instead attracts the attention of the motorist better. But at night an odd thing happens, while a flash mode does attract their attention but for some reason that flashing makes it difficult for the motorist to ascertain their distance from the flashing object, so to help them figure that out I leave mine on steady. If I only had one tail light I would put mine on pulse mode at night because then the light is always on yet it's pulsating to attract attention, this is what you should consider when using the Hotshot. I do use one other tail light though, something you might want to consider doing as some later point), adding a tail light to the helmet puts the light above the level of other things on the road and makes it visible, that one I leave on flash at night and the main one is on steady. I put my best and brightest tail light on the seat tube, and the other less expensive and a bit dimmer one on the helmet.
The head light I don't run during the day unless it's raining or overcast then I might depending on if I'm in the city (on) or out in the country (off). If you're riding at night like you say you do, you need the light to see the road with so leave it on steady, if you're out riding during a dark rainy day put it on flash. Here again though I use two headlights at night, I have cheaper one on the helmet which is on flash mode in the city, and the main brighter one on the handlebars on steady. The cool thing about a headlight on the helmet is that you can turn your head and flash a motorist at an intersection or driveway etc to get their attention by aiming the light at the motorist head! No, that's not mean, you don't leave on them, just long enough so you can see them turn their head in your direction. The one on the head I will switch to steady mode when I get out into the country.
For the helmet lights you don't need as expensive lights as your main, of course as cheap as the Hotshot 180 pro is you could get two of those (over time of course to spread out the cost), or you could drop down to the Hotshot 50 which I think is about $25, but really it's only $11 less then the 180! And for the helmet headlight you could get a Cygolite Metro 400 for just $35. I think Cygolite has been able to reduce their headlight cost by not including the helmet strap, mine came with a helmet strap but I paid more for it, the helmet strap it is about $14.
I have 2 Cygolites, my oldest one I got about 25 years ago and I bought the cheapest one they had which was also called a Metro. This light was before the days of LED so it used a dual bulb 12 watt total (which I changed to 14 watt total) halogen powered by 8 D batteries! Yes it was heavy but it worked really well, I still have it to this day and it still works just fine! The newer Cygolite I have is the Mitycross 450 OSP, this one is about 13 years old and it too still works just fine, I retired the old Metro when I got this light and have been using this light as my helmet light since then. This is one of the reasons I recommend Cygolites because they are very well made as I have witnessed from two different models. In case your wondering about my other two lights, the helmet tail light is a Planet Bike Super Flash Turbo, not as well made as Cygolites but despite missing a part that broke off it still works; the other tail light is a Light & Motion Vis 180 which is very well made as well, but when I got that light Cygolite didn't have as powerful of a light then as they do now. The other headlight I have is a now no longer made but extremely bright and well made Philips Saferide 80, this is sweat light, though it only puts out 250 lumens but due to aimed optics it's significantly brighter on the pavement then the brighter Mitycross!
Anyway sorry for the rambling just though some of the info would be good for you to understand.