settings form now works
saved state changes for settings button