Detatch db in background.js when option.js started to insert words to db.