Fixed tabs switching in buildings (didn't work)