Reworked Database, buildings to database on button