Fixed history saving issue (issue #17)

- fixed an issue where you could save the same result to the history
repeatedly
Fixed numbers with multiple decimal points (issue #4)
Added flash to history button when a new item is added