Add onClick event handler