modify timer setup in background.js