Added connection to DB for FloorPlanEditView