Cleaned up toHHMMSS() function
Use C# service when accepting a task