How do I repair activities?

If an activity is broken down you'll see a red spanner icon above it. Tap on the building and you should get a popup window with a button saying "Order Parts". Tap the button saying "Order Parts". You can then wait until the repair time is up or else pay gems to finish the repair instantly.