Implemented Error Message

Added try catch to show a toast when anything other than integers are
typed in the try catch