changed store to localstorage for more persistent data
added 'clear history' button'
refined clear history button
added clear history button