Fixed the category selection process when you create a photo