Fix not working widgetMedia in boolean fields.

Change-Id: I4fbffae6a136c617cad9d9aa76c69c4ecf4f0641
Fixes-bug: MRN-1247.