store logged time to localStorage (closes #3)