Removing checkbox state from shared pref on close
Corrected if