Added device ready event