started to implement #38 - saving of settings in cookies