MOB-2297 Don't update categories without changes

Could you move the logic for changing data types of `poiCategory` to the separate function and use it here as first step? In second step use the conditional to check if it's new category to be created or existing category that was changed and should be updated.