Adds input validation for mpg and tank size fields on NewCarActivity to prevent crashing.