add milliseconds to datetime
fix isRunning bug on applicationDidBecomeActive