re-add click handler after update history