I have been successful with my code and it works as expected as long as I just flashed the device and do not remove power to it.
Once I remove power completly, the code does not seem to run anymore until I re-flash it again.
Flashing using the commands particle flash --local electron_firmware_1701004269926.bin
which was suggested here.
Just pressign RESET button is okay, but unplugging USB power without battery it will not afterwards start running the code.
Does it have to do somethign with the way I'm flashing it?
Thanks!