Update application preferences

Updates the application preferences with the provided values.