Add functionality to allow checkbox to save specific values