leds-fsg: change order of initialization and deinitialization