changed timer format and added red warning under 5 seconds