Preference selection fuction constructed.
Preference dialog is completed.
Merge pull request #8 from ro3289/bosh_event

Bosh event