Revert "Remove unnecessary on/off label check in bootstrapswitch widget"

This reverts commit 2ae45f9d5cc3bc49e14a02b68d2cf0e64b33f237.
Turns out that the switch label is not always specified.