Added Failed button and hid failed contracts by default