Development - (Settings) Added validation for number input

- Added private function to validate a number is entered in specific input elements
- Set maxlength attribute values on appropriate input elements