Made query persistant using background page