Improve test app to work on iPhone