Fix chart select for iOS.

To be tested on Android device.