Add heartbeat timer on ui