now category is selected when get in to the edit page.