created timeToSeconds() in CountdownTimer.cs