tweaks!
save app preferences in localstorage
tweaks and simplification