Prevent duplicate widgets

In order to not pollute the database with duplicated widgets, this
change tries to find existing shortened URLs first.