Adding functionality to browser action button

browser action button now opens the option's page. tabs permision only
used to  open it only once.