Question with objective widget

I’m doing some basic objectives, I call them by pressing tab, and If I keep tab open and “collect” item, I can make it disappear from the list, my issue is that if I collect before pressing tab, it doesn’t work, and if I close tab, it resets. How do I call the function/animation, whatever I use to make it complete, and make it permanent on the widget? Would I have to make a second widget, and do it from there, or is there a way to do it on one? This is very basic, and I know I’m missing something easy, I’m just not sure what.