Avoid invalid arg error when saving WoL widget
when there are no WoL entries(cherry picked from commit 66a5b767b1b533f6ce508a125404a2d8e3353c41)
Avoid invalid arg error when saving WoL widget
when there are no WoL entries
(cherry picked from commit 66a5b767b1b533f6ce508a125404a2d8e3353c41)