I would like to validate my settings preference when I close the settigs dialog or press the arrow. If the validation brings an error, a message should come and I stay in the se