Application settings now saved in preference file.