completed category selection in new and edit post pages