Issue #12: Fix bug on some devices where the widget couldn't be added.
Merge pull request #13 from caarmen/issue-12-cant-add-widget

Issue #12: Fix bug on some devices where the widget couldn't be added.