fix unchecking  favorite and category change to default value