Add logic to handle app settings.