Fix for AlertDialog.Builder on API lower than 11

When the API is lower than 11, Android throws an NoSuchMethodError because of the second parameter.
This pull request fixes it.