Changed database selection UI to use various tables in one database instead of using many databases