Give yellow warning background to the status if saving failed

Refactored some code to avoid having to deal with css specifity
for the background color. This should make it easier to spot
when saving failed.

Bug: 69314
Change-Id: I53886fa4d23a8e3911c9ffeb09bf833887af4fb8
Merge "Give yellow warning background to the status if saving failed"