Change dialog for errors on main activity for Android > 4.