added better tone for notification
added local storage
tidied code