Fixed issue in Timer.java