Fix not remembering checkbox settings