refactor: -Rearranged code in more logical error -Removed unnecessary variable updates to 0 -Updated didCompleteProcessing method to handle important operations by default
refactor:
-Rearranged code in more logical error
-Removed unnecessary variable updates to 0
-Updated didCompleteProcessing method to handle important operations by default

chrislzm/TimeAnalytics,chrislzm/TimeAnalytics