restore diagnostics view in todo sample