fix(open/close ring): open/close in DB callback