added database and fixed a bug
removed unused code
character picker dialog