Settings are saved to cookies

What an UGLY code. Consider just removing it actually.