Fixed Category Editor

Fixed the category editor drop down issue and local db connection for
debugging