validate input for app settings

using IP & Port validate functions defined in IP Address validator class
Preference Screen for app settings