Fixed many issues in HourOfDayPreference and remove StandardDialogPreference cause it's not needed