added device ready and resume events