deleted one of the warranty widgets and simplified

the code for the other one.