onClick for btnClearRegId is added