Add regex utils
Try to implement regex validator for ip address
use regex utils to check ip address in settings
Reset ip in settings by default value on invalid change
TODO restor default value doesn't work
Factorize some code