added listener on data button