Workaround for Android 2 compatibility (time picker).