Commit changes in checkbox