title: How to save (switch) button state in android?
body: <p>I am using SWITCH (like android toggle button ) instead of normal buttons in my andorid app.
  The code works fine while enabling and disabling switches.
  But i want to store the state of the switch.
  Suppose i enable the switch and close my application the background code will run fine but the switch state will change to disabled.</p>
  
  <p>Every time when i close the application the switch state becomes disabled.
  Is there any way to  store the switch State??</p>