fixed #27 - Only 12 hour format time is stored in shared preferences.

fixed #27