Saving the notification's value in local storage