Re-renders itself every 30 seconds to keep the correct time.