newer gradle
protection against null (mCurrentMessageBar)
add showError and shoWarning
change package