also fix loading checkbox state from settings