[Settings]: make ajax method same as other gadget