The trick isn't using perovskites—the trick is making them last.