Add event handlers and update client device view