Replaced SaveHistoryTask with an IntentService that saves history in the background. Additionally, since a new Activity is started every time an operation is made, that means there is always only 1 new piece of data to save when MainActivity's onPause() method is called. We do not need a LinkedList to store new operations. Other problems is how to share a lock on the database between the MainActivity and IntentService.
Updated README.md with new tasks