Add exam timer code to the UI