saved state changes for settings button