- added user pref
- added table selector