got alertview to work if text flied is empty