Added a constructor from a calendar to the TimePickerDialog. Added the update time method.