custom onDeviceReady