Made Android version work on actual device.