A smartphone app has been shown to double the number of children getting their eyes treated.