Added browser action handler, fixed storage issues