Added popup and set local storage