layout changes and alert for edittext