Orientation, rotation issues resolved, Cancel button added and UI changes.

Added support for rotation and horizontal orientation.
Added a Cancel button to dismiss the Picker.
Added options to customize the Done and Cancel button text.
Aligned the header to the center.