actually implemented saving of serial settings