Refactor categories list for dropdown