modify on device ready listener