Fixed app crash when select building, go to background, return to app, and return to table view