HabPanel Widget - How to locate items instead of hardcoding

@luckymallari I’m sorry if I’m not doint it the right way, but I was under custom widgets and created the buttons in widget in there:

The code is taken from;
Location of the CSS for editing the dummy and switch looks with thanks from @xsherlock, and pasted into a new widget I created. But when changing the Item value as described above, nothing happens :(.