Workaround for Android 2 compatibility (time picker).
Time Picker: added  Android 2 compatibility.