Added helper function for setting app settings