sort field and random mode are now saved
update mode buttons