Added CommitmentUIValidationTests for picking commitment status; fixed a potential bug when editing a commitment