write settings to database :white_check_mark: