update code - fix issue on adding another gadget launch