Fixed a Crash

App could crash when the input number is too large, and goes over
Integer boundaries. The maximum number you can enter now is 999,999,999.