Refactoring the all code.
Change from background page to event page.