Impl the dialog for setting(UI), refactoring for UI operation events.

1. Show time-picker when user click button on option-dlg.
2. Add  confirm, cancel for option-dlg.
3. Add, rename some methods in utils(convert value).