Error fix

Fixed error causing widget not to save (hat tip Blake Watson)

Signed-off-by: Zoe Rooney <zoe@zoerooney.com>