add category_selected class to post edit view