Fix for NoSuchMethodError on devices < API level 16

For older devices the setBackground() method of the View class was named setBackgroundDrawable(). I've changed the LegacyDialog to accomodate that.