extension AppState: Equatable {
    static func == (lhs: AppState, rhs: AppState) -> Bool {
        return lhs.keyStore == rhs.keyStore &&
               lhs.createIdentity == rhs.createIdentity &&
               lhs.diamond == rhs.diamond &&