edit with selected category checked