Set size to default on 0 value

Make sure that the media size widget sets default size when the user
inputs 0 manually. Also revalidate the widget if the user types
non-numeric (invalid) characters.

Bug: 70861
Change-Id: I256d1ac87a052d3e8a909ca1294023d75af3886e
Merge "Set size to default on 0 value"