Fix for NoSuchMethodError on devices < API level 16

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