added the length finally and changed the end time so it corrisponds with the server
Merge pull request #3 from heyellieday/time_spent

added the length finally and changed the end time so it corrisponds with...