Fix manifest and add select text method to bg.js