Removing undefined method ondeviceready