Update options.js

added function for saving the user choices based on check box selection