optimize progress gadget interface