Slight change to app icon

- minor code cleanup
Fixed a bug where the history would append too many items