pass tab.id to pageAction.hide()
remove console.log
use alarm instead of setInterval