History feature248

I attempted to add the history feature per request by adding a preference checkbox to the prefs, a key to the preference activity and an if statement to the live scan result.