deselect media and crop when category changes